package com.ruoyi.quality.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 供应商管理对象 quality_supplier
 * 
 * @author wky
 * @date 2024-06-05
 */
@Schema(description = "供应商管理对象")
public class QualitySupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /**  */
    @Schema(title = "")
    private Long supplierId;

    /** 供应商名字 */
    @Schema(title = "供应商名字")
    @Excel(name = "供应商名字")
    private String supplierName;

    /** 供应商手机号 */
    @Schema(title = "供应商手机号")
    @Excel(name = "供应商手机号")
    private String supplierPhone;

    /** 供应商地址 */
    @Schema(title = "供应商地址")
    @Excel(name = "供应商地址")
    private String supplierAddress;

    /** 公司名称 */
    @Schema(title = "公司名称")
    @Excel(name = "公司名称")
    private String companyName;
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }


    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }


    public void setSupplierPhone(String supplierPhone) 
    {
        this.supplierPhone = supplierPhone;
    }

    public String getSupplierPhone() 
    {
        return supplierPhone;
    }


    public void setSupplierAddress(String supplierAddress) 
    {
        this.supplierAddress = supplierAddress;
    }

    public String getSupplierAddress() 
    {
        return supplierAddress;
    }


    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("supplierName", getSupplierName())
            .append("supplierPhone", getSupplierPhone())
            .append("supplierAddress", getSupplierAddress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("companyName", getCompanyName())
            .toString();
    }
}
